ADP\BaseVersion\Includes\AdminExtensions\Ajax B

Total Complexity 96
Dependencies 12
Dependents 2
Total lines 677
Lines of code 492
Logical lines of code 221
Comment lines 17
Methods 40
Properties 4

Methods 40

Method Rating Maintainability Complexity Lines of code
ajax_save_rule()
C
40 26 49
ajax_giftable_products()
S
49 6 30
ajax_product_categories()
S
52 4 22
partial_rebuild_list()
S
55 3 20
ajax_subscriptions()
S
54 3 20
ajax_partial_recalculate_persistence_cache()
S
56 3 18
ajax_rules_list()
S
58 3 14
ajax_product_attributes()
S
52 2 22
ajax_product_tags()
S
56 2 17
ajax_product_brand()
S
56 2 17
ajax_users_list()
S
56 2 17
ajax_product_category_slug()
S
56 2 16
ajax_product_custom_attributes()
S
56 2 16
sanitize_array_text_fields()
S
64 3 10
ajax_reorder_rules()
S
65 3 9
ajax_recalculate_persistence_cache()
S
61 2 13
ajax_products()
S
59 2 12
ajaxRequests()
S
61 2 11
ajax_coupons()
S
56 1 18
start_partial_rebuild_list()
S
59 1 17
ajax_product_sku()
S
57 1 16
ajax_product_taxonomies()
S
57 1 16
ajax_remove_rule()
S
67 2 8
__construct()
S
65 2 9
ajax_product_custom_fields()
S
58 1 14
ajax_start_partial_recalculate_persistence_cache()
S
61 1 13
ajax_auto_add_products()
S
81 1 3
ajax_skip_discount_type()
S
71 1 6
withContext()
S
81 1 3
withPersistentRuleRepository()
S
81 1 3
ajax_rebuild_onsale_list()
S
79 1 3
ajax_rebuild_bogo_list()
S
79 1 3
withRuleRepository()
S
81 1 3
ajax_start_partial_rebuild_bogo_list()
S
81 1 3
ajax_start_partial_rebuild_onsale_list()
S
81 1 3
ajax_partial_rebuild_bogo_list()
S
81 1 3
ajax_partial_rebuild_onsale_list()
S
81 1 3
ajax_admin_footer_text_rated()
S
71 1 6
ajax_giftable_categories()
S
81 1 3
register()
S
78 1 3